package cn.com.chengmandian.bike.service;

import cn.com.chengmandian.bike.model.EbDeviceBike;
import cn.com.chengmandian.bike.model.EbRideHelmet;
import cn.com.chengmandian.bike.model.EbRideOrder;
import cn.com.chengmandian.core.web.pojo.BikeAreaParam;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 电单车运营-骑行订单头盔表 服务类
 * </p>
 *
 * @author AutoGenerator
 * @since 2024-11-13
 */
public interface IEbRideHelmetService extends IService<EbRideHelmet> {

    EbRideHelmet getByOrder(Integer orderId);

    void createRecord(Integer orderId, EbDeviceBike deviceBike);

    void returnUpdate(Integer id, EbDeviceBike deviceBike);

    Boolean checkReturnBikeHelmet(BikeAreaParam bikeAreaParam, EbDeviceBike deviceBike, EbRideOrder rideOrder);
}
